-
I was curious about how circular and repeated imports behave. I checked the definition of [@import](https://drafts.csswg.org/css-cascade-3/#at-import) in CSS Cascading and Inheritance Level 3.
My u…
-
There are some different behaviors around `MediaList.appendMedium` among different browsers and the spec.
In Firefox, Edge, and Safari, if you call this method with an empty string, an error would …
-
cf. https://github.com/jquery/jquery/issues/3589#issuecomment-289548410
There seems to be no good method for calculating the dimensions of an element's inner border edge (i.e., content area plus pa…
-
``` js
div = document.createElement('div');
div.style.background = "url(a), url(b)";
div.style.backgroundRepeat="no-repeat, no-repeat, no-repeat";
console.log(div.style.background);
```
This returns …
-
Moved from https://lists.w3.org/Archives/Public/www-style/2017Jun/0029.html, posted by Henrik Andersson.
One thing I've realized is that css allows for the use of SVG images.
And those have a DOM …
-
https://drafts.csswg.org/cssom-view/#element-scrolling-members
> To scroll an element into view element, with a ScrollIntoViewOptions dictionary options, means to run these steps for each ancestor …
-
Seems more useful than LegacyArrayClass (which I still think we should remove entirely if possible). (See also NodeList, which does the same.)
cc @bzbarsky @domenic @tobie
-
Suggestion: Element.scrollParent
Returns the closest element which controls the position of current element via a scroll.
This feature is useful in many cases, easy for browsers to implement and h…
-
https://developers.google.com/web/updates/2018/03/cssom
-
[`elementFromPoint`](https://drafts.csswg.org/cssom-view/#dom-document-elementfrompoint) and [`elementsFromPoint`](https://drafts.csswg.org/cssom-view/#dom-document-elementsfrompoint) should not retur…
rniwa updated
3 weeks ago