<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>77892</bug_id>
          
          <creation_ts>2012-02-06 12:06:38 -0800</creation_ts>
          <short_desc>Give a name to attributes that might be invalid and needing updates</short_desc>
          <delta_ts>2019-02-06 09:02:42 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Caio Marcelo de Oliveira Filho">cmarcelo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>darin</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>550177</commentid>
    <comment_count>0</comment_count>
    <who name="Caio Marcelo de Oliveira Filho">cmarcelo</who>
    <bug_when>2012-02-06 12:06:38 -0800</bug_when>
    <thetext>While working on making NamedNodeMap a simple wrapper to Element, I noticed that some functions want to access attribute storage without updating invalid attributes (Style / SVG animations attributes can be marked as invalid). For example, we have hasAttributes() and hasAttributesWithoutUpdate(). The last one means no update of eventually invalid attributes will take place.

&quot;WithoutUpdate&quot; is too vague. Ryosuke Niwa proposed in IRC we could try to name those &quot;special&quot; attributes:

16:41 &lt; cmarcelo&gt; rniwa: hasAttributesWithoutUpdatingInvalidOnes()? I wouldn&apos;t want to mention the list explicitly, what if it 
                  changes.
16:42 &lt; rniwa&gt; cmarcelo: that&apos;s a good point
16:42 &lt; rniwa&gt; cmarcelo: maybe we need to give a name to the group of attributes that need to be dynamically updated
16:42 &lt; rniwa&gt; cmarcelo: maybe something like &quot;RendererDependentAttribute&quot;?
16:42 &lt; rniwa&gt; cmarcelo: or LayoutDependentAttributes?
16:42 &lt; rniwa&gt; cmarcelo: or DynamicAttribute?
16:43 &lt; rniwa&gt; cmarcelo: I like the last one least since every attribute is &quot;dynamic&quot; to some extent
16:43 &lt; rniwa&gt; cmarcelo: alas I don&apos;t like the fact seemingly generic word &quot;update&quot; is associated with a particular type of update 
               here.
16:44 &lt; cmarcelo&gt; rniwa: I understand. Having a clear name for them would help a lot.
16:44 &lt; rniwa&gt; cmarcelo: yeah but maybe it&apos;s fine to keep &quot;WithoutUpdate&quot; until we agree on some good name for it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>550178</commentid>
    <comment_count>1</comment_count>
    <who name="Caio Marcelo de Oliveira Filho">cmarcelo</who>
    <bug_when>2012-02-06 12:07:48 -0800</bug_when>
    <thetext>Darin, do you have suggestions about this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1502825</commentid>
    <comment_count>2</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2019-02-06 09:02:42 -0800</bug_when>
    <thetext>Mass moving XML DOM bugs to the &quot;DOM&quot; Component.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>