Parse HTMLOLElement.start as per the HTML spec: - https://html.spec.whatwg.org/multipage/semantics.html#dom-ol-start - https://html.spec.whatwg.org/multipage/infrastructure.html#rules-for-parsing-integers
Created attachment 272467 [details] Patch
Comment on attachment 272467 [details] Patch r=me
Comment on attachment 272467 [details] Patch Clearing flags on attachment: 272467 Committed r197307: <http://trac.webkit.org/changeset/197307>
All reviewed patches have been landed. Closing bug.
What in the world is that 0xBADBEEF thing about?
(In reply to comment #5) > What in the world is that 0xBADBEEF thing about? We only read m_start if m_hasExplicitStart is true. If m_hasExplicitStart is false, we set m_start to 0xBADBEEF to make it clear its value is invalid. Honestly, I feel this should be refactored to use WTF::Optional<>. I'll probably do this in a follow-up.