Re: [fullscreen] Make ::backdrop { display: block } not important (#25)

Authors can always use `visibility: hidden` or `opacity: 0` for hiding it, can't they?

> so ::backdrop is always positioned somehow, so it's already coerced to a block display type always.

This makes sense to me. I was mainly concerned about the layout-internal values e.g. `table-*` and `ruby-*`, but it seems all of them will be coerced to `block` because of being positioned.

After staring at our code, I have one more concern which is `display: contents`. According to the CSS Display spec, this value does not generate any box [1], and thus it is not affected by value of `position`. I guess it is fine to just treat it as `none` in this case.

There are several other block display values I don't really want to handle, but I guess they are fine.

> So we could just remove this line altogether? Sounds reasonable.

If we decide not to force it, I think it's fine to just remove that line altogether.


[1] https://drafts.csswg.org/css-display-3/#box-generation

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/25#issuecomment-144685721

Received on Thursday, 1 October 2015 10:08:52 UTC