Indentation in example code not aligned properly #10

Closed
iandevlin opened this Issue Nov 24, 2012 · 5 comments

Projects

None yet

2 participants

@iandevlin

A minor issue for sure, but it aids readability of the specification.

In many of the examples provided in the spec. (e.g. Example 1 and 2) the first source element within a picture element is indented correctly, but subsequent ones are indented further which at first glance makes them look to be child elements of the first source element.

@marcoscaceres
Member

@iandevlin I agree. If you want to do a pull request and fix up the markup, that would be awesome. Otherwise, I can try to fix it in the next few days.

@iandevlin

Done, hopefully correctly, as it was my first ever pull request.

@marcoscaceres
Member

perfectly done! :)

@marcoscaceres
Member

@iandevlin, sorry, I forgot to mention that the index.html files are automagically generated. So in the future, you only need to update the *.src.html files.

@iandevlin

Yes I realised that after I had already edited the index.html file. Ah well.

@zcorpan zcorpan pushed a commit to zcorpan/picture-element that referenced this issue May 6, 2014
@Hixie Hixie [giow] (1) Try to be clearer about when the poster frame is shown. Be…
…tter matches implementations (see first part of #10 in the bug).

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17979
Affected topics: HTML, Video and Audio

git-svn-id: http://svn.whatwg.org/webapps@7552 340c8d12-0b0e-0410-8428-c7bf67bfef74
e868fbd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment