Bug 6033 - Task.html has duplicate attribute class, attribute name not allowed errors
Summary: Task.html has duplicate attribute class, attribute name not allowed errors
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6 M5
Assignee: Belen Barros Pena
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-25 03:41 UTC by David Reyna
Modified: 2014-04-17 03:33 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Reyna 2014-03-25 03:41:09 UTC
HTML Validator reveals 2 HTML5 formatting errors per task header, specifically: 

CODE: <tr {{ task|task_color }} class="flash" id="{{task.order}}" name="{{task.order}}">

OUTPUT:  <tr class=muted class="flash" id="3" name="3">
-------------------------^
----------------------------------------------^

ERRORS:
line 357 column 30 - Error: Duplicate attribute class.
line 357 column 54 - Error: Attribute name not allowed on element tr at this point.


Note: there are two class fields generated when the task is supposed to be muted.
Comment 1 Belen Barros Pena 2014-03-25 10:07:21 UTC
I can take this one
Comment 3 David Reyna 2014-04-09 23:22:22 UTC
commit 6831b7ad16e11ed0f3bf24a0cef5ba7612a9bae0
Comment 4 Yuan Sun 2014-04-17 03:33:51 UTC
Verified in ea90bd054c449a8e19c474c8bfa8c289f692c33f.