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 upUse the correct IDL setter for <font>.size #7898
Conversation
|
@nox r? |
|
|
|
Nevermind, your commit looks right; I was misreading it. |
|
I'm not sure I want a macro with a generic name such as |
|
I've been looking at the attribute stuff a bit more; it's not clear to me that there's a good reason for AttrValue::Length to exist. Having a field of type |
Yes, you're absolutely right. I really need to stop writing code when I'm half awake. |
Previously, the IDL attribute would incorrectly set the `size` attribute for `<font>` elements as `AttrValue::String`. Now it correctly sets it as `AttrValue::Length`. Also included is a regression test.
5a092aa
to
eabaf2c
|
Let me know how that latest force push looks |
|
@bors-servo r+ Reviewed 2 of 2 files at r1. Comments from the review on Reviewable.io |
|
|
|
Ah sorry @Ms2ger, didn't see you had assigned yourself. |
|
@eefriedman With respect to your concerns, #7863 might be a better place to voice them |
… r=nox Use the correct IDL setter for <font>.size Previously, the IDL attribute would incorrectly set the `size` attribute for `<font>` elements as `AttrValue::String`. Now it correctly sets it as `AttrValue::Length`. Also included is a regression test. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7898) <!-- Reviewable:end -->
|
|
|
@bors-servo retry #7787 |
|
|
|
|
frewsxcv commentedOct 7, 2015
Previously, the IDL attribute would incorrectly set the
sizeattributefor
<font>elements asAttrValue::String. Now it correctly sets itas
AttrValue::Length. Also included is a regression test.