Open
Description
If an element that is being parsed is both a property and a microformat, values are extracted for the property. In spec look for: “if that child element itself has a microformat ("h-*" or backcompat roots) and is a property element”.
I would expect dt-
properties to get a value
based on a dt-
property within the nested microformat.
Change proposal:
- if that child element itself has a microformat ("h-*" or backcompat roots) and is a property element, add it into the array of values for that property as a { } structure, add to that { } structure:
- value:
- if it's a p-* property element, use the first p-name of the h-* child
- else if it's an e-* property element, re-use its { } structure with existing value: inside.
- else if it's a u-* property element and the h-* child has a u-url, use the first such u-url
- else if it's a dt-* property element and the h-* child has a dt-* property of its own, use the first such dt-* property value
- else use the parsed property value per p-*,u-*,dt-* parsing respectively
- value:
(Only the second to last step is new.)
Metadata
Metadata
Assignees
Labels
No labels