Re: [csswg-drafts] Clarification on block box with mixed level boxes (#8772)

It depends. There are a few different ways of implementing this.

Blink previously did what you describe but now we do:
```
block box
  line box
    Some
  line box
    anonymous block box
      Text
```
(there are other approaches as well).

The reason for this is you may have DOM structure like:
```
<!DOCTYPE html>
<div>
Text <span style="filter:blur(2px)">text
  <div>
    block
  </div>
</span>
</div>
```
https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=11591

Making sure the filter applies to the block-in-inline is non-trivial with the first approach.

Ian

-- 
GitHub Notification of comment by bfgeek
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8772#issuecomment-1524099242 using your GitHub account


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

Received on Wednesday, 26 April 2023 22:03:25 UTC