FirefoxGraphics / wr-planning

2 stars 0 forks source link

Re-design clip/spatial API for simplicity #67

Open jbonisteel opened 4 years ago

Gankra commented 4 years ago

There's a few things I want to try here, and not sure how they'll pan out:

Properties that are True about the web, which we might be relying on and which we might want to enforce at the API level:

Gankra commented 4 years ago

via @mstange

maybe rephrase as: "Items in a stacking context (which are always part of the same reference frame) should only be clipped by clips in that same reference frame"

and "When a clip from an ancestor reference frame needs to be applied, this clip needs to be set on an ancestor stacking context, and then the stacking context will clip you."

kvark commented 4 years ago

@Gankra I think a better place to post the technical details would be in the corresponding bugzilla issue, to which we'd link from here.

Gankra commented 4 years ago

yes, i moved to https://bugzilla.mozilla.org/show_bug.cgi?id=1615646