Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPartial text decoration support for layout 2020 #25888
Conversation
highfive
commented
Mar 4, 2020
|
@bors-servo try=layout-2020 |
|
|
|
@bor-servo try=wpt-2020 |
| let text_decorations = fragment | ||
| .parent_style | ||
| .get_inherited_text() | ||
| .text_decorations_in_effect; |
This comment has been minimized.
This comment has been minimized.
emilio
Mar 4, 2020
Member
It would be good to not use the text_decorations_in_effect mechanism, because it's pretty busted, see https://searchfox.org/mozilla-central/rev/d5b34cc8872177d3ee071e06f787c2a14268595b/servo/components/style/style_adjuster.rs#550
|
@bors-servo try=wpt-2020 |
|
|
|
|
@bors-servo try=wpt-2020 |
|
|
|
r? @emilio |
|
you need to walk up the fragment tree to figure out the actually-in-effect decorations. |
I think we can accumulate when we recurse down the fragment tree, right? |
|
Yeah, that should work too of course. |
|
That approach look a bit unfortunate to me. Can't we just have a variable of type |
|
@bors-servo r+ Didn't realise that had not landed yet, sorry. |
|
|
|
|
|
@bors-servo r=nox |
|
|
|
|
ferjm commentedMar 4, 2020
./mach build -ddoes not report any errors./mach test-tidydoes not report any errors