Make global attribute dir accept auto as well. - #712
Conversation
|
@doronbehar thank you for this PR... we like those... But maybe this fix does not go far enough? Or maybe too far, depending on your perspective... As far as I can quickly read in W3C documentation - note we do not normally accept See attribute-auto, dir-attribute, dirauto, and probably others references... Since Maybe we could have something like (code not tested) - Or maybe there is a better way to do this switching... What do you, or others, think? Thanks... |
|
@doronbehar I have cycled around to shortly merging this PR, but still think the above patch is required... It is only in a HTML5 document that Yes I could add this after the merge, but it seems better if this was part of your fix... thanks... |
|
@doronbehar now merged, and then patched as indicated... thanks... |
|
Thanks you so much for suggesting making this part of my fix, I just couldn't find the time to test it myself. |
|
@doronbehar no problem... Have added 2 tests to my
As a note to myself, I guess I should also add these to the official regression tests, as a continual reminder of the addition of Another little step forward... thanks... |
https://www.w3schools.com/tags/att_global_dir.asp