[Bug 27222] [Shadow]: "title" attribute should inherit in shadow DOM

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27222

--- Comment #18 from Koji Ishii <kojiishi@gmail.com> ---
A revised proposal after comment #8:

1. Following attributes use the composed tree when the spec defines
to traverse ancestors/descendants:
- accesskey[*2]
- ARIA (role, aria-*)[*1]
- draggable
- dropzone
- hidden
- lang/xml:lang[*2]
- spellcheck[*2]
- title[*2][*3]

2. Following attributes processes tree of trees recursively when at
shadow boundaries:
- autofocus
- tabindex[*1]

3. Normal behavior, each tree is separated (included for review and
discussion purposes only):
- class
- contenteditable[*1]
- contextmenu[*4]
- data-*
- dir
- hidden
- id
- name
- style
- translate
- Form control attributes
  - dirname
  - maxlength
  - minlength
  - disabled
  - inputmode
  - autocomplete
- Microdata
  - itemid
  - itemprop
  - itemref
  - itemscope
  - itemtype

[*1] These are already defined in the spec.

[*2] One minor difference I'm wondering about is that "use the
composed tree" and "tree of trees recursively" are different for
distributed nodes, and which model these attributes should use.

[*3] Boris pointed out that Gecko uses events to show tooltips, so
using composed tree could make the spec slightly different from
implementations. We could 1) say "may use event path instead", or
2) say "composed tree" since the diff is subtle enough to ignore?

[*4] Although ancestor's contextmenu should be valid in composed
tree, the HTML spec for contextmenu defines to fire an event, so
nothing special needed.

Reviews/thoughts/opinions are greatly appreciated.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 24 December 2014 05:55:14 UTC