Edgar Chen

Results 31 comments of Edgar Chen

Oh, there are also some tests for such behavior in https://github.com/web-platform-tests/wpt/blob/master/screen-orientation/nested-documents.html.

> See http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4936 > It seems that in Chromium and Gecko this case is sync (doesn't await a stable state). Gecko now always sync loads image for non-responsive case (without...

I see, I will also handle this case in https://bugzilla.mozilla.org/show_bug.cgi?id=1076583. Thank you, @zcorpan and @jdm.

Per https://github.com/whatwg/html/issues/4884#issuecomment-527867774, it looks like browsers have different behavior not only in non-responsive case, but also responsive case. :(

On Gecko, the promise rejection of `clipboard.write()` doesn’t come from the `representationDataPromise` itself, but occurs after verifying its fulfillment value. I think other browsers behave the same way per https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=13745:...

> For example, > - Chrome carries background-color and color defined on parents elements. > - Safari carries only color > - Firefox none of these two. And also -...

The markup error should be fixed by #234.

> You removed task queueing, but you cannot resolve or reject promises while in parallel without queueing a task first. Oh, right, I added it back. Thank you.

> In the following steps, iterating over `itemList`: > > https://w3c.github.io/clipboard-apis/#dom-clipboard-write > > ``` > 4. For each clipboardItem in dataList: > 1. For each representation in clipboardItem’s clipboard item's...

(There are similar discussions in https://github.com/w3c/clipboard-apis/issues/191)