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 upUpdate WR (switch to new text-decorations API in WR). #17814
Conversation
highfive
commented
Jul 21, 2017
|
Heads up! This PR modifies the following files:
|
highfive
commented
Jul 21, 2017
|
@bors-servo try |
Update WR (switch to new text-decorations API in WR). This only makes use of the "Solid" text decoration type, which matches the existing support. WR now supports dotted, dashed and wavy text decorations, but supporting those will need some extra work in Servo to pass through the correct values.
|
|
|
Huh, test failure seems related but doesn't occur locally. |
06fd6b2
to
24f9f52
|
Ah, I see the failure now. Before this PR, no text decoration showed up at all in this test, so it accidentally passes. With this update, the text decoration does show up, but exposes a bug in how Servo handles |
|
@bors-servo try |
Update WR (switch to new text-decorations API in WR). This only makes use of the "Solid" text decoration type, which matches the existing support. WR now supports dotted, dashed and wavy text decorations, but supporting those will need some extra work in Servo to pass through the correct values. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17814) <!-- Reviewable:end -->
|
|
|
That is an instance of #13479. |
|
|
24f9f52
to
3ec092a
|
@bors-servo try |
Update WR (switch to new text-decorations API in WR). This only makes use of the "Solid" text decoration type, which matches the existing support. WR now supports dotted, dashed and wavy text decorations, but supporting those will need some extra work in Servo to pass through the correct values. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17814) <!-- Reviewable:end -->
|
|
|
r? anyone |
|
LGTM, with that either addressed or explained. |
| @@ -2135,7 +2135,7 @@ impl FragmentDisplayListBuilding for Fragment { | |||
| .get_inheritedtext() | |||
| ._servo_text_decorations_in_effect; | |||
| // Note that the text decoration colors are always the same as the text color. | |||
| text_decorations.underline = text_decorations.underline.map(|_| text_color); | |||
| text_decorations.underline = text_decorations.underline;//.map(|_| text_color); | |||
This comment has been minimized.
This comment has been minimized.
emilio
Jul 23, 2017
Member
Why is this correct? Mind leaving a comment so people note it's intentional?
Also, if this change is really correct, please remove the leftover comment.
This comment has been minimized.
This comment has been minimized.
This only makes use of the "Solid" text decoration type, which matches the existing support. WR now supports dotted, dashed and wavy text decorations, but supporting those will need some extra work in Servo to pass through the correct values.
3ec092a
to
dc82366
|
@bors-servo r=emilio |
|
|
Update WR (switch to new text-decorations API in WR). This only makes use of the "Solid" text decoration type, which matches the existing support. WR now supports dotted, dashed and wavy text decorations, but supporting those will need some extra work in Servo to pass through the correct values. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17814) <!-- Reviewable:end -->
|
|
glennw commentedJul 21, 2017
•
edited by larsbergstrom
This only makes use of the "Solid" text decoration type, which
matches the existing support. WR now supports dotted, dashed
and wavy text decorations, but supporting those will need some
extra work in Servo to pass through the correct values.
This change is