Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add HTML5 poster attribute #75

Open
wants to merge 1 commit into from

0 participants

@ghost

HTML 5 has a poster attribute for video tags, for example:

<video poster='http://placehold.it/800x500'></video>

However, blaze-html doesn’t seem to include it.

import qualified Text.Blaze.Html5.Attributes as A

foo = H.video ! A.poster "http://placehold.it/800x500"
-- Not in scope: `A.poster'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 23, 2012
  1. Add HTML5 poster attribute

    Radek Slupik authored
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/Util/GenerateHtmlCombinators.hs
View
12 src/Util/GenerateHtmlCombinators.hs
@@ -443,12 +443,12 @@ html5 = HtmlVariant
, "onseeked", "onseeking", "onselect", "onstalled", "onstorage"
, "onsubmit", "onsuspend", "ontimeupdate", "onundo", "onunload"
, "onvolumechange", "onwaiting", "open", "optimum", "pattern", "ping"
- , "placeholder", "preload", "pubdate", "radiogroup", "readonly", "rel"
- , "required", "reversed", "rows", "rowspan", "sandbox", "scope"
- , "scoped", "seamless", "selected", "shape", "size", "sizes", "span"
- , "spellcheck", "src", "srcdoc", "start", "step", "style", "subject"
- , "summary", "tabindex", "target", "title", "type", "usemap", "value"
- , "width", "wrap", "xmlns"
+ , "placeholder", "poster", "preload", "pubdate", "radiogroup"
+ , "readonly", "rel", "required", "reversed", "rows", "rowspan"
+ , "sandbox", "scope", "scoped", "seamless", "selected", "shape", "size"
+ , "sizes", "span", "spellcheck", "src", "srcdoc", "start", "step"
+ , "style", "subject", "summary", "tabindex", "target", "title", "type"
+ , "usemap", "value", "width", "wrap", "xmlns"
]
, selfClosing = False
}
Something went wrong with that request. Please try again.