Re: [csswg-drafts] [css-position] What is the behavior of an absolutely-positioned <br>? (#5749)

The CSS Working Group just discussed `CSS Positioned Layout`, and agreed to the following:

* `RESOLVED: Close no change: taking BR out of flow removes its effect on the surrounding content, just like every other element`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> Topic: CSS Positioned Layout<br>
&lt;fantasai> github: https://github.com/w3c/csswg-drafts/issues/5749<br>
&lt;fantasai> Rossen_: Seems the proposal is to close no change.<br>
&lt;fantasai> smfr: Question is if you have a &lt;br> and say 'position: absolute'. Does it trigger line breaks?<br>
&lt;fantasai> smfr: 'position: absolute' takes it out of flow<br>
&lt;fantasai> smfr: which probably means it shouldn't trigger a line break<br>
&lt;fantasai> smfr: so I think Gecko has the right behavior<br>
&lt;fantasai> smfr: Slight concern about if it's web-compatible, but if Gecko's shipping probably OK<br>
&lt;fantasai> Rossen_: do we have any specific spec text defining it one way or another?<br>
&lt;fantasai> smfr: I think the spec is fine, just implementers not following spec<br>
&lt;fantasai> florian: That and fact that BR and WBR aren't properly specced fully<br>
&lt;fantasai> florian: we've had discussions about how to represent them, but haven't fully resolved<br>
&lt;fantasai> florian: but only logical behavior is if take out of flow, stop influencing the text round it<br>
&lt;emilio> q+<br>
&lt;fantasai> Rossen_: sounds like we have consensus for breaking behavior here<br>
&lt;fantasai> Rossen_: and that seems to be spec-compliant atm<br>
&lt;Rossen_> ack emilio<br>
&lt;fantasai> emilio: I've never heard a compat issue with Gecko's behavior so far<br>
&lt;fantasai> Rossen_: proposed close issue no change to spec and encourage UAs to follow Gecko's lead<br>
&lt;fantasai> RESOLVED: Close no change: taking BR out of flow removes its effect on the surrounding content, just like every other element<br>
&lt;astearns> A testcase would be an excellent encouragement (and smfr just added the tag to the issue)<br>
&lt;fantasai> emilio: Where does the WebKit behavior come from?<br>
&lt;fantasai> smfr: It's probably very historical<br>
&lt;fantasai> iank_: BR inherits from text node, so has ...<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5749#issuecomment-915386859 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 8 September 2021 16:27:34 UTC