ladybird icon indicating copy to clipboard operation
ladybird copied to clipboard

Simple Page with 5 absolutely positioned transformed elements and drawing SVG Overlays does not work

Open jogibear9988 opened this issue 1 year ago • 9 comments

look at : https://jogibear9988.github.io/getBoxQuadsPolyfill/

Bugs on this page:

  • not all controls are shown
  • overlays are at the wrong position (moved left and down a few pixel)
  • if select has focus, changeing value with keyup/down does not work
  • light blue background of outer div does not work

looks like this in chrome: image

and like this in ladybird: image

It only contains some simple absolutely positioned and transformed elements.

There are no errors in the console: image

jogibear9988 avatar Jul 02 '24 08:07 jogibear9988

and also, the one overlay wich is drawn is offset

jogibear9988 avatar Jul 02 '24 08:07 jogibear9988

It would be a lot easier to debug and fix this issue if you could provide a short ~10 line HTML/CSS reproduction of each issue.

ADKaster avatar Jul 06 '24 07:07 ADKaster

This is now fixed

https://jogibear9988.github.io/laydibird-issues/issue1.html

rotation does not work

Chrome: image

Ladybird image

jogibear9988 avatar Jul 06 '24 13:07 jogibear9988

This is now fixed

https://jogibear9988.github.io/laydibird-issues/issue2.html

background color not rendered

Chrome: image

Ladybird: image

jogibear9988 avatar Jul 06 '24 13:07 jogibear9988

https://jogibear9988.github.io/laydibird-issues/issue3.html

2nd child of container not rendered

Chrome: image

Ladybird: image

jogibear9988 avatar Jul 06 '24 13:07 jogibear9988

this is now fixed...

https://jogibear9988.github.io/laydibird-issues/issue4.html

offsetLeft/offsetTop have wrong values

spec: https://www.w3.org/TR/cssom-view-1/#extensions-to-the-htmlelement-interface

Chrome: image

Ladybird: image

jogibear9988 avatar Jul 06 '24 13:07 jogibear9988

@ADKaster okay like this?

jogibear9988 avatar Jul 06 '24 13:07 jogibear9988

Issue 4 is fixed in current ladiybird. The other 3 pages still render wrong

jogibear9988 avatar Aug 02 '24 20:08 jogibear9988

So now much more transformations seem to work, but the page still has some wrong:

Chrome: image

Ladybird: image

jogibear9988 avatar Dec 01 '24 21:12 jogibear9988