daisy / pipeline-mod-braille

!! NOTE: This project is now part of the pipeline-modules project !! | Braille Production Modules for the DAISY Pipeline 2
1 stars 3 forks source link

Fix string-set and string() within named flows #110

Open bertfrees opened 8 years ago

bertfrees commented 8 years ago

The braille CSS specification also needs to be more clear about what happens when string-set and string() are used in combination with named flows.

bertfrees commented 8 years ago

The CSS specification should probably be:

String variables are always evaluated and manipulated in document tree order. If string() is used in the margin context, then the resultant value is exactly as if the page-margin box were an element within the document at the start of the page in the main page area, inside the deepest element that spans the page break.

I'm not completely sure yet because while this is very easy to understand, it isn't so trivial to implement.

bertfrees commented 8 years ago

What currently doesn't work yet are string-set declarations within named flows if the string() call is not made from a pseudo-element inside the same flowed element.