script: Add missing steps for parsing a legacy font size#43103
Merged
mrobinson merged 3 commits intoMar 9, 2026
Conversation
Signed-off-by: Shubham Gupta <shubham.gupta@chromium.org>
Signed-off-by: Shubham Gupta <shubham.gupta@chromium.org>
|
🔨 Triggering try run (#22842240156) for Linux (WPT) |
mrobinson
requested changes
Mar 9, 2026
|
Test results for linux-wpt from try job (#22842240156): Flaky unexpected result (33)
Stable unexpected results that are known to be intermittent (15)
|
|
✨ Try run (#22842240156) succeeded. |
Signed-off-by: Shubham Gupta <shubham.gupta@chromium.org>
fae89fb to
0173397
Compare
mrobinson
approved these changes
Mar 9, 2026
offline-ant
pushed a commit
to offline-ant/havi
that referenced
this pull request
Jun 4, 2026
In this change clamps legacy font size value of the `<font>` element to the range [1,7] according to steps 10, 11 of [rules-for-parsing-a-legacy-font-size](https://html.spec.whatwg.org/multipage/rendering.html#rules-for-parsing-a-legacy-font-size). Testing: This causes a WPT test to start passing. --------- Signed-off-by: Shubham Gupta <shubham.gupta@chromium.org> (cherry picked from commit c32d9f5)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In this change clamps legacy font size value of the
<font>element to the range [1,7] according to steps 10, 11 of rules-for-parsing-a-legacy-font-size.Testing: This causes a WPT test to start passing.