-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Audit: new dom nodes table is confusing #5220
Comments
cc @hwikyounglee for ideas |
I started to experiment on this a bit here. The table now has three columns: Category, Element, and Count. I also parse down the element snippet to be only the HTML element type + the id or class and drop every other attribute so that it doesn't get too large. Thoughts? |
Notes from meeting:
@paulirish how do we want to trim HTML elements? Should it be additive or subtractive? I vote additive so we can only include what is necessary instead of trying to remove as much as possible. Right now the only things I keep are:
|
@exterkamps ive only seen [style] be a problem. my concern is that we'll strip some attributes that are useful. if we are subtractive then there's a much smaller risk that we effed up and removed important data. |
That's fair, and easier to implement. I'll strip out just And did we want to make the stripping of snippets more generic, or put it into some lib/ file so that all snippets can use it? i.e. the accessibility snippets |
yah good call. |
I'm not sure what the last line is telling me. It's identified two nodes, but they're not explained or lined up to anything.
The text was updated successfully, but these errors were encountered: