New patches in /srv/darcs/git-mirrors/xhtml
commit fb9e0bbb69e15873682a9f25d39652099a3ccac1
Author: Chris Dornan <[email protected]>
Date: Wed May 9 19:20:04 2012 +0100
Correct previous version bump to 3000.2.1
commit d59c0b9ce73e827f8f363ed275609f02bdd36235
Author: Chris Dornan <[email protected]>
Date: Wed May 9 18:50:13 2012 +0100
Version 3000.2.1 (+CHANGEATTRS and +htmlAttrPair)
commit 5c08c761e1137610d5feb56aa8ff28c90754b097
Author: Chris Dornan <[email protected]>
Date: Wed May 9 18:38:37 2012 +0100
Add CHANGEATTRS and htmlAttrPair
Mistuke has pointed out that (!) does not allow attributes to be added
to a general (X)HTML tag while taking account of the attributes that
are already defined by the tag [1]. This can make it hard to generally
extend tags with attributes while even being sure that correct (X)HTML
is being generated (the standard prohibits the duplication of
attributes[2]).
In order to minimize disruption the existing interface has been
extended with an alternative class to `ADDATTRS` called `CHANGEATTRS`
and a deconstructor function, `htmlAttrPair`, for analysing the
(abstract) `HtmlAttr` type. With `CHANGEATTRS` a function is used to
transform the existing attributes (which can now be analysed with
`htmlAttrPair`) rather than being passed a list of attributes to add
to an HTML tag as is the case with `ADDATTRS`.
[1] https://github.com/haskell/xhtml/issues/2
[2] http://www.w3.org/WAI/GL/WCAG20-TECHS/H94.html
commit 6b666b27eacca25bb718ae07501eca2866f0e148
Merge: e6dc0c8... 8239054...
Author: Chris Dornan <[email protected]>
Date: Wed Mar 7 10:14:31 2012 -0800
Merge pull request #6 from pcapriotti/master
Update .gitignore
commit 8239054f1bbcd141caf8782cb59cf5a16cba582b
Author: Paolo Capriotti <[email protected]>
Date: Tue Mar 6 10:57:35 2012 +0000
Update .gitignore.
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc