[Webkit-unassigned] [Bug 172801] Replace hardcoded <hr> rendering rules with 'overflow: hidden' UA style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 26 15:10:45 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=172801

Karl Dubost <karlcow at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |karlcow at apple.com

--- Comment #4 from Karl Dubost <karlcow at apple.com> ---
The line to modify

https://searchfox.org/wubkat/rev/cf0cfbaf1ad7728a145c06e3539170870bbb913f/Source/WebCore/rendering/RenderBox.cpp#4951-4954

To remove isLegend()

bool RenderBox::avoidsFloats() const
{
    return isReplacedOrInlineBlock() || isHR() || isLegend() || isFieldset() || createsNewFormattingContext();
}

Then 
https://searchfox.org/wubkat/rev/cf0cfbaf1ad7728a145c06e3539170870bbb913f/Source/WebCore/css/html.css#101-109

Add to hr

overflow: hidden;
unicode-bidi: isolate;


Then a lot of refactoring of tests probably.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220926/7f0d38ae/attachment.htm>


More information about the webkit-unassigned mailing list