[Bug 24625] Relax schema don't have table @border

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

Michael[tm] Smith <mike@w3.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |mike@w3.org
         Resolution|---                         |WORKSFORME

--- Comment #1 from Michael[tm] Smith <mike@w3.org> ---
(In reply to Takeshi Kurosawa from comment #0)
> After 015c9bcaf2f2
> (https://bitbucket.org/validator/syntax/commits/015c9bcaf2f2) was committed,
> relax schema don't have table @border definition.

Yeah, that's by design. The definition for @border was moved to the legacy.rnc
file, where other legacy markup features are defined.

> Thus Nu Markup Checker reports an error "Attribute border not allowed on
> element table at this point." for <table border> in addition to "Use CSS
> instead".

No, as far as I can see, it doesn't:

http://validator.w3.org/nu/?doc=data:text/html;charset=utf-8,data:text/html;charset=utf-8,<!DOCTYPE
html><title>test</title><table border></table>

Instead, it says:

Warning: The border attribute on the table element is presentational markup.
Consider using CSS instead. For example: table, td, th { border: 1px solid gray
}

Are you testing from http://validator.w3.org/nu or are you testing a local
instance? If you're testing a local instance, you may need to run
"./build/build.py all" a couple times to get the instance. updated correctly.

> Nu Markup Checker should not report "Attribute border not allowed"

It doesn't report "Attribute border not allowed", as far as I can see.

> and have table @border definition.

Dunno what you mean by that. By design, it's not intended to emit any message
other than the "Warning: The border attribute on the table element is
presentational markup. Consider using CSS instead. For example: table, td, th {
border: 1px solid gray }" message.

Is there some other message you want it to emit in addition to that.

> Related commit: https://bitbucket.org/validator/syntax/commits/015c9bcaf2f2

Yeah, I reverted that commit already.

> Related bug: Bug 23223

That bug is about the @sortable attribute and it not really, because I've not
implemented @sortable support in the validator yet. There's not really much
point in implementing it yet, since no browsers support it yet, and so I'll
that I'd have the validator do anyway is to omit a message saying "The sortable
attribute is not supported by browsers yet."

Please feel free to re-open this bug if you have more information about the
@border problem.

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

Received on Wednesday, 12 February 2014 01:35:53 UTC