This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17012 - onpageshow raises an error though should be valid
Summary: onpageshow raises an error though should be valid
Status: RESOLVED FIXED
Alias: None
Product: HTML Checker
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael[tm] Smith
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-09 14:51 UTC by Dan Milligan
Modified: 2015-08-23 07:07 UTC (History)
1 user (show)

See Also:


Attachments

Description Dan Milligan 2012-05-09 14:51:09 UTC
Error Line 137, Column 46: Attribute onpageshow not allowed on element body at this point.

<body onpageshow="javascript:testElements();">

Attributes for element body:
    Global attributes
    onafterprint
    onbeforeprint
    onbeforeunload
    onblur
    onerror
    onfocus
    onhashchange
    onload
    onmessage
    onoffline
    ononline
    onpagehide
    onpageshow
    onpopstate
    onresize
    onscroll
    onstorage
    onunload
Comment 1 Michael[tm] Smith 2012-10-02 13:17:16 UTC
Thanks for the bug report. Checked in a fixe

https://bitbucket.org/validator/syntax/changeset/14b91c27b5f8b018305e2b96b808cae6167969fa

I'll push this to the W3C validator later this week.