| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Given we only have OS api mappings currently for Android, I would add
#elif BUILDFLAG(IS_ANDROID
TruncateAndAddStringAttribute(node_data,Let's break this down a little:
element->getAttribute(AtomicString("arg")));Is arg defined in Blink? Is this case sensitive?
element->getAttribute(AtomicString("intent")));Ditto.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
dtseng@ can you please take another look?
Given we only have OS api mappings currently for Android, I would add
#elif BUILDFLAG(IS_ANDROID
Done
TruncateAndAddStringAttribute(node_data,Let's break this down a little:
- does getAttribute return "" if the value does not exist?
- do we want to Truncate? What does that do?
- AndAddStringAttribute, does this add unconditionally? e.g. if the string is empty. Is that what we want? (to differentiate between empty vs not set).
element->getAttribute(AtomicString("arg")));Is arg defined in Blink? Is this case sensitive?
element->getAttribute(AtomicString("intent")));Peter KotwiczDitto.
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Mostly lg; just checking on one thing.
if (ui::IsMath(node_data->role)) {It's worth thinking about if we want to use
Node::IsMathMLElement
instead.
THis somewhat dpeends on if we're going to use htmlTag to do the final conversion.
1. Node.IsMathMLElement, htmlTag (browser side): will always identify DOM nodes which are math regardless of ARIA role additions that content authors place
2. native/aria roles in Blink and browser side: the only thing I could think of is if an author wants to override the math for whatever reason e.g. <mn role="button">1</mn>.
I think I maybe favor 1 because it would also encode the role button in the example and also the math info whereas 2 would drop the math info.
WDYT?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |