W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

[Bug 13996] New: Don't wrap invisible nodes when doing inline styling

From: <bugzilla@jessica.w3.org>
Date: Thu, 01 Sep 2011 14:58:07 +0000
To: public-webapps@w3.org
Message-ID: <bug-13996-2927@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13996

           Summary: Don't wrap invisible nodes when doing inline styling
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: HTML Editing APIs
        AssignedTo: ayg@aryeh.name
        ReportedBy: ayg@aryeh.name
         QAContact: sideshowbarker+html-editing-api@gmail.com
                CC: mike@w3.org, public-webapps@w3.org


Reported by Tim Down by private e-mail.

E.g., if we bold

  <p>foo</p> <p>bar</p>

currently we produce

  <p><b>foo</b></p><b> </b><p><b>bar</b></p>

The extra <b> in the middle is pointless.  The user can never focus the
collapsed whitespace node, after all.  We should abort early in "force the
value" if the node is invisible, just like if the value already matches.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 1 September 2011 14:58:09 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT