Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ANDI "Linearize Page" problem with transform:translate() #191

Open
Kelvyn-Meyers opened this issue Mar 15, 2023 · 0 comments
Open

ANDI "Linearize Page" problem with transform:translate() #191

Kelvyn-Meyers opened this issue Mar 15, 2023 · 0 comments

Comments

@Kelvyn-Meyers
Copy link

Hi,

It looks like the ANDI "Linearize Page" tool does not reposition elements affected by the transform: translate() CSS property. Below is a situation where a button is highlighted as repositioned even though it's not in the actual DOM order.

Here is a screenshot of the ANDI-linearized page:

Image depicting the ANDI problem

Here is the HTML for that page:

<html>
	<head>
		<title>ANDI Linearize Problem?</title>
	</head>
	<body>
		<h1>Header (1)</h1>
		<button>Button (2)</button>
		<h2>SubHeader (3)</h2>
		<button style="position: relative; transform:translate(250%);">Button (4)</button>
		<button>Button (5)</button>
		<h2>SubHeader (6)</h2>
		<button>Button (7)</button>
	</body>
</html>

Here is a screenshot of the CSS classes affecting this Button(4) element when ANDI has linearized the page:

CSS classes applied to the problem button

If this is not a problem, then I apologize for the inconvenience. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant