-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove font tag text decoration quirk. #8568
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks to be addressing #8566. Let us know when you have multi-implementer interest and tests, and then we can merge.
This adds and enables a flag to disable the non-standard text-decoration color override logic. This "quirk" was only ever meant to be for the <font> element (not for the <a> element) and in quirks mode. Firefox applies this quirk in a far reduced set of circumstances, and likely isn't required by web content anymore. This is hooked up to a finch kill-switch so we can disable if necessary. See: whatwg/html#8568 whatwg/html#8566 Bug: 1394817 Change-Id: Icdf86b1099c81571729767b56a7b3aaee7c85e7d
@domenic PTAL - (updated top post with vendor interest, and test pull request) This does carry some (very) small compat risk - I've wired up our logic change to a kill-switch flag in anything goes wrong. We'll know for sure in early Feburary. |
Great! I'll merge this. Please file Safari and Firefox bugs and update the OP with them, for tracking. |
This adds and enables a flag to disable the non-standard text-decoration color override logic. This "quirk" was only ever meant to be for the <font> element (not for the <a> element) and in quirks mode. Firefox applies this quirk in a far reduced set of circumstances, and likely isn't required by web content anymore. This is hooked up to a finch kill-switch so we can disable if necessary. See: whatwg/html#8568 whatwg/html#8566 Bug: 1394817 Change-Id: Icdf86b1099c81571729767b56a7b3aaee7c85e7d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4066694 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1078424}
This adds and enables a flag to disable the non-standard text-decoration color override logic. This "quirk" was only ever meant to be for the <font> element (not for the <a> element) and in quirks mode. Firefox applies this quirk in a far reduced set of circumstances, and likely isn't required by web content anymore. This is hooked up to a finch kill-switch so we can disable if necessary. See: whatwg/html#8568 whatwg/html#8566 Bug: 1394817 Change-Id: Icdf86b1099c81571729767b56a7b3aaee7c85e7d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4066694 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1078424}
@domenic Done - Thanks! |
…disable text-decoration override, a=testonly Automatic update from web-platform-tests [text-decorations] Add & enable flag to disable text-decoration override This adds and enables a flag to disable the non-standard text-decoration color override logic. This "quirk" was only ever meant to be for the <font> element (not for the <a> element) and in quirks mode. Firefox applies this quirk in a far reduced set of circumstances, and likely isn't required by web content anymore. This is hooked up to a finch kill-switch so we can disable if necessary. See: whatwg/html#8568 whatwg/html#8566 Bug: 1394817 Change-Id: Icdf86b1099c81571729767b56a7b3aaee7c85e7d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4066694 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1078424} -- wpt-commits: 8646f9fc564439fe5c7582ce5d73a86427a57cf2 wpt-pr: 37283
This adds and enables a flag to disable the non-standard text-decoration color override logic. This "quirk" was only ever meant to be for the <font> element (not for the <a> element) and in quirks mode. Firefox applies this quirk in a far reduced set of circumstances, and likely isn't required by web content anymore. This is hooked up to a finch kill-switch so we can disable if necessary. See: whatwg/html#8568 whatwg/html#8566 Bug: 1394817 Change-Id: Icdf86b1099c81571729767b56a7b3aaee7c85e7d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4066694 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1078424}
…disable text-decoration override, a=testonly Automatic update from web-platform-tests [text-decorations] Add & enable flag to disable text-decoration override This adds and enables a flag to disable the non-standard text-decoration color override logic. This "quirk" was only ever meant to be for the <font> element (not for the <a> element) and in quirks mode. Firefox applies this quirk in a far reduced set of circumstances, and likely isn't required by web content anymore. This is hooked up to a finch kill-switch so we can disable if necessary. See: whatwg/html#8568 whatwg/html#8566 Bug: 1394817 Change-Id: Icdf86b1099c81571729767b56a7b3aaee7c85e7d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4066694 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1078424} -- wpt-commits: 8646f9fc564439fe5c7582ce5d73a86427a57cf2 wpt-pr: 37283
https://bugs.webkit.org/show_bug.cgi?id=248662 rdar://problem/102920597 Reviewed by Antti Koivisto. This patch is to align WebKit with Gecko / Firefox (except one case), Blink / Chromium and Web Specification [1] (relevant issue [2]): [1] https://html.spec.whatwg.org/#phrasing-content-3 [2] whatwg/html#8568 As per above issue, this patch remove quirk around 'font' element overriding color of any text decoration. Additionally, it also import updated tests from WPT: Upstream Hash: web-platform-tests/wpt@9f9188a * Source/WebCore/rendering/TextDecorationPainter.cpp: (collectStylesForRenderer): * LayoutTests/TestExpectations: Add all imported tests as [ImageOnlyFailure] due to slight pixel shifts * LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-a.html: Rebaselined * LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-a-expected.html: Ditto * LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-q.html: Ditto * LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-q-expected.html: Ditto * LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-s.html: Ditto * LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-s-expected.html: Ditto * LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-ref.html: Ditto * LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-x.xhtml: Ditto * LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-x-expected.html: Ditto Canonical link: https://commits.webkit.org/271338@main
(See WHATWG Working Mode: Changes for more details.)
/rendering.html ( diff )