The second links points to documents that may be difficult to understand and quite boring to look at, but it will help you understand how browsers should behave. After that, you can try and fix those bugs with various techniques.