[Bug 24641] New: Consider making border a boolean attribute

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

            Bug ID: 24641
           Summary: Consider making border a boolean attribute
           Product: HTML WG
           Version: unspecified
          Hardware: PC
               URL: http://www.w3.org/html/wg/drafts/html/master/tabular-d
                    ata.html#the-table-element
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: xn--mlform-iua@xn--mlform-iua.no
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org
        Depends on: 24636

Because all of the following variants of table@border cause table cells to be
rendered with 1px borders, it would be simpler to authors if the element became
a boolean attribute.

  border=""
  border="1"
  border="not-a-number"

The rendering rules did not have to change. Only the authoring rules.

To avoid useless error messages, border=1 could perhaps be made ”obsolete but
conforming”.

Thus, consequently, border="" and border="border" would become the conforming
values.

The following regime, were border=1 is fully conforming, might be interpreted
by authors as if border= can take any number as value. Whereas in reality,
border is just a on-off signal.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Thursday, 13 February 2014 00:56:44 UTC