DescriptionStore border-*-color on SurroundData in ComputedStyle not BorderColorAndStyle
This patch moves the storage of border-*-color away from BorderColorAndStyle.
We instead store them on the generated SurroundData group on
ComputedStyle instead.
Since BorderValue is used by other classes such as OutlineValue and
MultiColData we have changed BorderData to store the
border-*-style information on BorderStyle which is the
BorderValue class without the border-*-(width/color) information.
The long term intention is to move all information away from
BorderStyle - it is a temporary class to store information as
we generate border-*-* iteratively.
Please note that we convert BorderStyle to a BorderValue when we
send information over to the Layout system to make the interfacing easy.
This will be changed to creating a new BorderValue from the individual
values in the long run or something along those lines
(pending discussion.)
Diff: https://gist.github.com/cf8735baa30e27a2dc945b6485c85a74/revisions
BUG=628043
Review-Url: https://codereview.chromium.org/2869043002
Cr-Commit-Position: refs/heads/master@{#470907}
Committed: https://chromium.googlesource.com/chromium/src/+/7201468ffddd08c6893769c4a0616df7e9bedcad
Patch Set 1 #Patch Set 2 : Always return VisitedDependantColor(CSSPropertyID) #
Total comments: 4
Patch Set 3 : Fix copy paste issue #Patch Set 4 : Rebase #Patch Set 5 : Fix a few issue #
Total comments: 6
Patch Set 6 : Change unsinged to bool in CachedUAStyle #
Total comments: 3
Patch Set 7 : Remove todo and change VisitedDependentColor to Border-*-Color public getters #Patch Set 8 : Fix up BorderColorEquals #Patch Set 9 : BorderColorVisuallyEquals calls BorderColorEquals #Messages
Total messages: 48 (36 generated)
|