<br> in non-standard mode stretches the line box only when the line is empty. e.g. <div><span><br></span></div> will stretch but <div>this will not stretch to 200px<span style="font-size: 200px;"><br></span></div> However it's way too quirky and it does not even match Chrome's behavior.
Created attachment 416960 [details] Patch
Created attachment 417359 [details] Patch
Comment on attachment 417359 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=417359&action=review > Source/WebCore/ChangeLog:17 > + Removing this quirk makes the inlineLevelBoxAffectsLineBox logic simpler since we don't have to check against > + whether the line is considered empty and the result is aligned with Chrome's behavior. Should it be removed from legacy too?
(In reply to Antti Koivisto from comment #3) > Comment on attachment 417359 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=417359&action=review > > > Source/WebCore/ChangeLog:17 > > + Removing this quirk makes the inlineLevelBoxAffectsLineBox logic simpler since we don't have to check against > > + whether the line is considered empty and the result is aligned with Chrome's behavior. > > Should it be removed from legacy too? Yeah good point.
<rdar://problem/73009786>
Created attachment 417421 [details] Patch
Created attachment 417482 [details] Patch
Created attachment 417484 [details] Patch
Created attachment 417506 [details] Patch
Created attachment 417594 [details] Patch
Committed r271481: <https://trac.webkit.org/changeset/271481> All reviewed patches have been landed. Closing bug and clearing flags on attachment 417594 [details].