Skip to content

Commit c7a0b62

Browse files
author
Simon Pieters
committed
[cssom-view] Make HTMLElement#offsetParent nullable in IDL. https://www.w3.org/Bugs/Public/show_bug.cgi?id=22935
1 parent 966ef63 commit c7a0b62

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cssom-view/Overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ <h3 id="element-scrolling-members"><span class="secno">7.2 </span><code title=""
12091209
<h2 id="extensions-to-the-htmlelement-interface"><span class="secno">8 </span>Extensions to the <code title="">HTMLElement</code> Interface</h2>
12101210

12111211
<pre class="idl">partial interface <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#htmlelement">HTMLElement</a> {
1212-
readonly attribute <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#element">Element</a> <a href="#dom-htmlelement-offsetparent" title="dom-HTMLElement-offsetParent">offsetParent</a>;
1212+
readonly attribute <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#element">Element</a>? <a href="#dom-htmlelement-offsetparent" title="dom-HTMLElement-offsetParent">offsetParent</a>;
12131213
readonly attribute double <a href="#dom-htmlelement-offsettop" title="dom-HTMLElement-offsetTop">offsetTop</a>;
12141214
readonly attribute double <a href="#dom-htmlelement-offsetleft" title="dom-HTMLElement-offsetLeft">offsetLeft</a>;
12151215
readonly attribute double <a href="#dom-htmlelement-offsetwidth" title="dom-HTMLElement-offsetWidth">offsetWidth</a>;

cssom-view/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@ <h3><code title>Element</code> Scrolling Members</h3>
11711171
<h2>Extensions to the <code title>HTMLElement</code> Interface</h2>
11721172

11731173
<pre class=idl>partial interface <span data-anolis-spec=html>HTMLElement</span> {
1174-
readonly attribute <span data-anolis-spec=dom>Element</span> <span title=dom-HTMLElement-offsetParent>offsetParent</span>;
1174+
readonly attribute <span data-anolis-spec=dom>Element</span>? <span title=dom-HTMLElement-offsetParent>offsetParent</span>;
11751175
readonly attribute double <span title=dom-HTMLElement-offsetTop>offsetTop</span>;
11761176
readonly attribute double <span title=dom-HTMLElement-offsetLeft>offsetLeft</span>;
11771177
readonly attribute double <span title=dom-HTMLElement-offsetWidth>offsetWidth</span>;

0 commit comments

Comments
 (0)