-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove 'presentational hints' from
width
attribute for <hr>
https://bugs.webkit.org/show_bug.cgi?id=274605 Reviewed by Ryosuke Niwa. This patch aligns WebKit with Gecko / Firefox and web specification [1]: [1] https://html.spec.whatwg.org/#the-hr-element-2 "The width attribute on an hr element maps to the dimension property 'width' on the element." As per above, there should not be any presentational hints'. Hence, this patch removes them from WebKit's codebase. * Source/WebCore/html/HTMLHRElement.cpp: (WebCore::HTMLHRElement::collectPresentationalHintsForAttribute): * LayoutTests/imported/w3c/web-platform-tests/html/rendering/dimension-attributes-expected.txt: Rebaseline Canonical link: https://commits.webkit.org/279245@main
- Loading branch information
Ahmad Saleem
committed
May 24, 2024
1 parent
26ef083
commit fe5976c
Showing
2 changed files
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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